package com.muyu.danmo.domain;

import com.muyu.common.core.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 社区用户表 danmo_community_user
 *
 * @author : kunzong
 * @date : 2024-11-19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoCommunityUser {

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private Long id;

    /**
     * 用户名称
     */
    @Excel(name = "用户名称")
    private String name;

    /**
     * 用户头像
     */
    @Excel(name = "用户头像")
    private String picture;

    /**
     * 属地
     */
    @Excel(name = "属地")
    private String territorial;

    /**
     * 关注人数
     */
    @Excel(name = "关注人数")
    private Long followerNumber;

    /**
     * 粉丝人数
     */
    @Excel(name = "粉丝人数")
    private Long followeeNumber;

    /**
     * 获赞与收藏数
     */
    @Excel(name = "获赞与收藏数")
    private Long likeAndCollectNumber;

    /**
     * 是否关注
     */
    @Excel(name = "是否关注")
    private String whetherToFollow;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", id)
                .append("name", name)
                .append("picture", picture)
                .append("territorial", territorial)
                .append("followerNumber", followerNumber)
                .append("followeeNumber", followeeNumber)
                .append("likeAndCollectNumber", likeAndCollectNumber)
                .append("whetherToFollow", whetherToFollow)
                .toString();
    }
}
